//
//  HWTableViewCell.h
//  购物车
//
//  Created by 胡伟 on 16/10/10.
//  Copyright © 2016年 huwei. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HWGoodsModel;
@protocol HWTableViewCellDelegate <NSObject>

-(void)btnClick:(UITableViewCell*)cell andfFlag:(int)flag;

@end
@interface HWTableViewCell : UITableViewCell
//商品图片
@property(nonatomic,strong)UIImageView * goodsImage;
//商品标签
@property(nonatomic,strong)UILabel * goodsTitleLabel;
//价格标签
@property(nonatomic,strong)UILabel * priceTitleLabel;
//具体价格
@property(nonatomic,strong)UILabel * priceLabel;
//购买数量
@property(nonatomic,strong)UILabel * goodsNumLabel;
//购买商品的数量
@property(nonatomic,strong)UILabel * numCountLabel;
//添加商品数量
@property(nonatomic,strong)UIButton * addBtn;
//删除商品数量
@property(nonatomic,strong)UIButton * deleteBtn;
//是否选中按钮
@property(nonatomic,strong)UIButton * isSelectBtn;
//是否选中图片
@property(nonatomic,strong)UIImageView * isSelectImage;

//选中状态
@property(nonatomic,assign)BOOL selectState;

@property(nonatomic,assign)id<HWTableViewCellDelegate>delegate;
//赋值
-(void)addTheValue:(HWGoodsModel*)goodsModel;


@end
